package com.lhs.satokenAuth;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lhs.entity.user.User_role;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, User_role> implements RoleService {

    @Override
    public List<String> getRole(Long  userID) {
        return baseMapper.getRole(userID);
    }
}
